package com.courseware.online.service;

import com.courseware.online.dto.CoursewareDTO;
import com.courseware.online.vo.CoursewareDetailVO;
import com.courseware.online.vo.CoursewareVO;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CoursewareService {
    public PageInfo<CoursewareVO> getCoursewareByPage(CoursewareDTO dto);

    public CoursewareDetailVO getCoursewareDetail(int id);

    public void addCourseware(CoursewareDetailVO vo);

    public void updateCourseWare(CoursewareDetailVO vo);

    public List<CoursewareVO> getCoursewareByName(String name);

    public int delCourseware(Integer id);
}
